package com.handle.system.api.dto;

import com.handle.system.api.entity.SysDept;
import com.handle.system.api.entity.SysTenant;
import com.handle.system.api.entity.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  数据传输对象
 * </p>
 *
 * @author zhangqing
 * @since 2021-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysUserDto extends SysUser implements Serializable{

    private List<Long> roleIds;

    private String clientId;

    private String grantType;

    private SysDept dept;

    private List<SysRoleDto> roles;

    private SysTenant tenant;

    private String tenantName;

    private String deptName;

    private int pageSize;
    private int pageNo;

}
